class EventComment < ActiveRecord::Base
  belongs_to :event
  belongs_to :user
  
  format_attribute :content
  
  def editable_by?(user)
    user!=:false && user.id == user_id
  end

end
